<!DOCTYPE html>
<html ng-app=authapp>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
	<title>江苏省中等职业院校评估系统</title>
	<meta name="keywords" content="江苏省中等职业院校评估系统">
	<meta name="description" content="江苏省中等职业院校评估系统">

	<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="../../basic/style/base.css" />
	<link rel="stylesheet" href="../../models/admin/css/home.css"/>
	<link rel="stylesheet" href="../../models/admin/css/expert.css"/>
    <script src="../../plugin/angular/angular.min.js"></script>
    <script src="../../plugin/bootstrap/ui-bootstrap-tpls.js"></script>
    <script src="../../models/admin/js/expert.js"></script>
    <script src="../../plugin/angular/angular-cookies.min.js"></script>
    <script src="../../plugin/angular/ng-file-upload.min.js"></script>
    <script src="../../basic/js/source.js"></script>
    <script src="../../basic/javascript/funcs.js"></script>
    <script src="../../basic/js/directive.js"></script>
	<style>
		.oprate-box dd span {display: inline;float:none}
	</style>
</head>

<body>
	<div authheader></div>
	<div class="main-content" ng-controller="fcontroller">
		<div leftaside></div>
		<aside>
			<div class="top-bar"><span>专家管理</span></div>
			<div class="m-add cen-container" ng-controller="expertListController">
							     
				<div class="whole-cover" ng-hide="isAddM"></div>
				<div class="add-form" ng-hide="isAddM">
					<div>
						<span>编号</span><input type="text" ng-model="expertcode" placeholder="请输入编号"/>
					</div>
					<div>
						<span>工作单位</span><input type="text" ng-model="workunit" placeholder="请输入工作单位"/>
					</div>
					<div>
						<span>姓名</span><input type="text" ng-model="expertname" placeholder="请输入姓名"/>
					</div>
					<div>
						<span>职称</span><input type="text" ng-model="title" placeholder="请输入职称"/>
					</div>
					<div>
						<span>职务</span><input type="text" ng-model="post" placeholder="请输入职务"/>
					</div>
					<div>
						<span>研究领域</span><input type="text" ng-model="field" placeholder="请输入研究领域"/>
					</div>
					<div>
						<span>办公电话</span><input type="text" ng-model="officephone" placeholder="请输入办公电话" ng-maxlength="11" maxlength="11"/>
					</div>
					<div>
						<span>手机</span><input type="text" ng-model="phone" placeholder="请输入手机" ng-maxlength="11" maxlength="11"/>
					</div>
					<div>
						<span>电子邮箱</span><input type="text" ng-model="email" placeholder="请输入电子邮箱"/>
					</div>
					<div><div ng-hide="isclickBtn" ng-click="addFirstZ()">确认</div><div ng-show="isclickBtn" ng-click="amendExpert()">修改</div><div ng-click="cancelAddM()">取消</div></div>
				</div>
				<div class="">
				</div>
				<div class="top-check">
					<input type="text" class="fl" ng-model="expertname01" placeholder="请输入专家姓名"/>
					<div class="fl expert-btn" ng-click="queryMain()">查询</div>
					<div class="add-apply" ng-click="addM()">添加专家</div>
				</div>
				<div class="list-content">
					<div ng-repeat="arraylist in list" class="cooleList" ng-if="list.length > 0">
						<div class="detail-part" style=" border-right:1px solid #169BD5;">
							<ul>
								<li>编号</li>
								<li>工作单位</li>
								<li>姓名</li>
								<li>职称</li>
								<li>职务</li>
								<li>研究领域</li>
								<li>办公电话</li>
								<li>手机</li>
								<li>电子邮箱</li>
							</ul>
							<ul>
								<li ng-bind="arraylist.s_expert_code?arraylist.s_expert_code:'-'" title="{{arraylist.s_expert_code}}">编号</li>
								<li ng-bind="arraylist.s_workunit?arraylist.s_workunit:'-'" title="{{arraylist.s_workunit}}">工作单位</li>
								<li ng-bind="arraylist.s_name?arraylist.s_name:'-'" title="{{arraylist.s_name}}">姓名</li>
								<li ng-bind="arraylist.s_title?arraylist.s_title:'-'" title="{{arraylist.s_title}}">职称</li>
								<li ng-bind="arraylist.s_post?arraylist.s_post:'-'" title="{{arraylist.s_post}}">职务</li>
								<li ng-bind="arraylist.s_field?arraylist.s_field:'-'" title="{{arraylist.s_field}}">研究领域</li>
								<li ng-bind="arraylist.s_officephone?arraylist.s_officephone:'-'" title="{{arraylist.s_officephone}}">办公电话</li>
								<li ng-bind="arraylist.s_phone?arraylist.s_phone:'-'" title="{{arraylist.s_phone}}">手机</li>
								<li ng-bind="arraylist.s_email?arraylist.s_email:'-'" title="{{arraylist.s_email}}">电子邮箱</li>
							</ul>
						</div>
						<dl class="oprate-box">
							<dt>操作</dt>
							<dd>
								<span class="action" ng-click="queryAuthExpertInfoById(arraylist)">修改信息</span>
								<span class="action" ng-click="queryAuthExpertInfoById(arraylist)">专家分组</span>
								<span class="action" ng-click="deleteExpert(arraylist.pid,$index)">删除</span>
							</dd>
						</dl>
					</div>
					<div ng-if="list.length > 0" style="padding: 10px">共{{totalCount}}条</div>
					<div class="cooleList" style="text-align: center;line-height:70px;" ng-if="list.length == 0">
						暂无相关数据
					</div>
				</div>
		        <section ng-controller="pageDemo" class="col-md-7 pull-right" ng-show = "totalCount > pageSize">
		           <pagination total-items="bigTotalItems" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" rotate="false" num-pages="numPages" items_per_page="itemsPerPage" callback="pageChanged()" previous-text="上一页" next-text="下一页" first-text="首页" last-text="尾页"></pagination>
		        </section>
			</div>
		</aside>
	</div>
	<div authfooter></div>
</body>
</html>
